<div class="banner" style="background:url('<%= banner_for(@banner) %>') no-repeat center center">

  <div class="content">
    <h2>News</h2>
    <h1>新/闻/资/讯</h1>
  </div>
</div>
<div id="main">
  <div class="comm-box">
    <%= breadcrumb('posts')%>
    <div class="article-show">
      <h1><%= @post.title %></h1>
      <div class="info">
        <div class="jiathis_style share">
          <a class="jiathis_button_qzone"></a>
          <a class="jiathis_button_tsina"></a>
          <a class="jiathis_button_tqq"></a>
          <a class="jiathis_button_weixin"></a>
          <a href="http://www.jiathis.com/share?uid=1519173" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
        </div>
        <cite>发布时间:<%= format_datetime(@post.created_at, "%Y/%m/%d")%></cite></div>
      <div class="content">
        <%= raw @post.content %>
      </div>
      <%= link_to '', posts_path, class: "back" %>
    </div>
    <div class="post-bar">
      <%= link_to '上一条', previous_post_path(@post) %>
      <%= link_to '下一条', next_post_path(@post) %>
      <%= link_to '返回', posts_path%>
    </div>
    

  </div>
  <%= render 'sidebar' %>
  <div class="c"></div>
</div>
